{% load i18n %}

{% for project in featured_list %}
  <li class="module-item">
    <a class="module-item-title" href="{{ project.get_absolute_url }}">{{ project.name }}</a>
    {% for user in project.users.all %}
        <a href="{{ user.get_absolute_url }}" class="quiet">({{ user }})</a>
    {% endfor %}

    <ul class="module-item-menu">
      <li>
        {% if project.has_good_build %}
          <a href="{{ project.get_docs_url }}">{% trans "View Docs" %}</a>
        {% else %}
          <a href="{{ project.get_builds_url }}">{% trans "No Docs" %}</a>
        {% endif %}
      </li>
    </ul>

  </li>

{% empty %}
  <li class="module-item quiet">{% trans "No projects found" %}</li>
{% endfor %}
